﻿// 声明desktop空间,封装相关操作
desktop.container = {
	init : function(count,current) {
		if(!current) current = 1;
		for (var i = 0; i < count; i++) {
			var panel = $('<ul class="shortcut_panel '+( current == (i + 1) ? "current_panel" : "")+'">');
			this.inner.append(panel);
		}
		this.panel = $('ul.shortcut_panel');
		desktop.currentPanel = current;
	}
};
